package day1212zy;

public class Student {
    private String number;
    private String name;
    private int age;
    private String gender;
    private int math;
    private String classID;

    @Override
    public String toString() {
        return "Student{" +
                "number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", math=" + math +
                ", classID='" + classID + '\'' +
                '}'+"\r\n";
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getMath() {
        return math;
    }

    public void setMath(int math) {
        this.math = math;
    }

    public String getClassID() {
        return classID;
    }

    public void setClassID(String classID) {
        this.classID = classID;
    }

    public Student() {
    }

    public Student(String number, String name, int age, String gender, int math, String classID) {
        this.number = number;
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.math = math;
        this.classID = classID;
    }
}
